const express = require('express')
const router = express.Router()
const OrderController = require('../../controller/order')

router.post('/add', OrderController.add)
router.get('/delete/:id', OrderController.delete)
router.get('/findByid/:id', OrderController.findById)
router.get('/findByUid', OrderController.findByUid)
router.get('/pay/:id', OrderController.pay)

module.exports = router